package mall.demo.mybatis.pojo;

public class Product {
	private int productId;
	private String code;
	private String name;
	private String description;
	private double price;
	private String img_src;
	
	public Product() {
		
	}

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getImg_src() {
		return img_src;
	}

	public void setImg_src(String img_src) {
		this.img_src = img_src;
	}

	@Override
	public String toString() {
		return "Product [productId=" + productId + ", code=" + code + ", name="
				+ name + ", description=" + description + ", price=" + price
				+ "]";
	}
	
}
